package com.ag.answergames.controller;

import com.ag.answergames.vo.QuestionStoreVO;
import com.ag.answergames.vo.QuestionWrongVO;
import com.ag.answergames.vo.common.Result;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author : [Administrator]
 * @version : [v1.0]
 * @className : QuestionWrongController
 * @description : [描述说明该类的功能]
 * @createTime : [2023/4/13 11:48]
 */
@RestController
@Api
@RequestMapping("/back/question")
public class QuestionWrongController {

    @PostMapping("/findAll")
    public Result<List<QuestionWrongVO>> findAll(@RequestParam int userId, @RequestParam int page, @RequestParam int limit){
        return  null;
    }

    @PostMapping("/wrong/findById")
    public Result<QuestionWrongVO> findById(@RequestParam int userId, @RequestParam int questionId){
        return  null;
    }

    @PostMapping("/wrong/add")
    public Result<Integer> add(@RequestBody QuestionStoreVO questionStoreVO){
        return  null;
    }

    @DeleteMapping("/wrong/delete")
    public Result<Integer> delete(@RequestParam int questionId){
        return  null;
    }

}
